package weixinkeji.dev.power.user.bean;

import java.util.Date;
import sys.wx.ann.tc.C;
import sys.wx.ann.tc.ID;
import sys.wx.ann.tc.T;

/**
 *
 * @author IK
 */
@T("t_sysUser")
public class SysUser {
    
    @ID
    private String user_id;       //主键
    @C(l = 16)
    private String user_account;    //账号
    @C(l = 32)
    private String user_password;   //密码
    @C(l = 16)
    private String user_name;       //名称
    @C(defaultValue = "0")
    private Integer style;      //状态（1禁用;2启用;） 
    @C(defaultValue = "2")
    private Integer sort;       //类型，2普通成员，1管理员，0超级管理员
    @C(type = "time", defaultValue = "now")
    private Date cdate;//创建时间
    @C(type = "time")
    private Date ldate;//登陆时间
    
    public Integer getStyle() {
        return style;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUser_account() {
        return user_account;
    }

    public void setUser_account(String user_account) {
        this.user_account = user_account;
    }

    public String getUser_password() {
        return user_password;
    }

    public void setUser_password(String user_password) {
        this.user_password = user_password;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }
    
    public void setStyle(Integer style) {
        this.style = style;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCdate() {
        return cdate;
    }

    public void setCdate(Date cdate) {
        this.cdate = cdate;
    }

    public Date getLdate() {
        return ldate;
    }

    public void setLdate(Date ldate) {
        this.ldate = ldate;
    }

}
